package com.wn.base;

import java.util.ArrayList;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String str = sc.next();
        int length = str.length();
        if (length > 50 || str == null) {
            System.out.println("0");
        }
        char[] c = str.toCharArray();
        ArrayList<String> newlist = new ArrayList<>();
        for (int i = 0; i < c.length; i++) {
            if ('a' < c[i] && c[i] <= 'z') {
                int b = c[i];
                char f = (char) (b - 1);
                String h = Character.toString(f);
                newlist.add(h.toUpperCase());
                continue;
            }
            if (c[i] == 'a') {
                newlist.add("Z");
                continue;
            }
            if ('A' < c[i] && c[i] <= 'Z') {
                int b = c[i];
                char f = (char) (b - 1);
                String h = Character.toString(f);
                newlist.add(h.toLowerCase());
                continue;
            }
            if (c[i] == 'A') {
                newlist.add("z");
                continue;
            }
            if ('0' < c[i] && c[i] <= '9') {
                int f = Integer.parseInt(Character.toString(c[i])) - 1;
                String s = String.valueOf(f);
                newlist.add(s);
                continue;
            }
            if (c[i] == '0') {
                newlist.add("9");
                continue;
            }
            newlist.add("");
        }
        System.out.println(newlist);
    }
}